package com.zmn.plat.model.entity.servcategory;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务类型产品类型关联-冗余查询返回对象
 *
 * @author duanzuocai
 * @version v1.0
 * @since 2018/10/29 20:52
 */
public class ShowCategoryAssociationVO extends ShowCategoryAssociation implements Serializable {
    private static final long serialVersionUID = -2606394745626128900L;
    /**
     * 服务分类关联表中的前台主键
     */
    private Integer showGroupId;

    /**
     * 服务分类关联表中的后台主键
     */
    private Integer groupId;

    /**
     * 前台服务分类ID
     */
    private Integer showServCategId;

    /**
     * 前台一级分类ID
     */
    private Integer showCategOneId;

    /**
     * 前台二级分类ID
     */
    private Integer showCategId;

    /**
     * 服务分类ID
     */
    protected Integer servCategId;

    /**
     * 一级分类ID
     */
    protected Integer categOneId;

    /**
     * 二级分类ID
     */
    protected Integer categId;

    /**
     * 服务分类名称
     */
    private String servCategName;

    /**
     * 一级分类名称
     */
    private String categOneName;

    /**
     * 二级分类名称
     */
    private String categName;

    /**
     * 服务分类名称
     */
    private String showServCategName;

    /**
     * 前台服务分类计价器名称
     */
    private String showTariffName;

    /**
     * 一级分类名称
     */
    private String showCategOneName;

    /**
     * 二级分类名称
     */
    private String showCategName;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 前台二级产品分类服务时长
     */
    protected Integer serviceMinutes;

    private String relateKey;

    @Override
    public Integer getShowGroupId() {
        return showGroupId;
    }

    @Override
    public void setShowGroupId(Integer showGroupId) {
        this.showGroupId = showGroupId;
    }

    @Override
    public Integer getGroupId() {
        return groupId;
    }

    @Override
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    @Override
    public Integer getShowServCategId() {
        return showServCategId;
    }

    @Override
    public void setShowServCategId(Integer showServCategId) {
        this.showServCategId = showServCategId;
    }

    @Override
    public Integer getShowCategOneId() {
        return showCategOneId;
    }

    @Override
    public void setShowCategOneId(Integer showCategOneId) {
        this.showCategOneId = showCategOneId;
    }

    @Override
    public Integer getShowCategId() {
        return showCategId;
    }

    @Override
    public void setShowCategId(Integer showCategId) {
        this.showCategId = showCategId;
    }

    @Override
    public Integer getServCategId() {
        return servCategId;
    }

    @Override
    public void setServCategId(Integer servCategId) {
        this.servCategId = servCategId;
    }

    @Override
    public Integer getCategOneId() {
        return categOneId;
    }

    @Override
    public void setCategOneId(Integer categOneId) {
        this.categOneId = categOneId;
    }

    @Override
    public Integer getCategId() {
        return categId;
    }

    @Override
    public void setCategId(Integer categId) {
        this.categId = categId;
    }

    public String getServCategName() {
        return servCategName;
    }

    public void setServCategName(String servCategName) {
        this.servCategName = servCategName;
    }

    public String getCategOneName() {
        return categOneName;
    }

    public void setCategOneName(String categOneName) {
        this.categOneName = categOneName;
    }

    public String getCategName() {
        return categName;
    }

    public void setCategName(String categName) {
        this.categName = categName;
    }

    public String getShowServCategName() {
        return showServCategName;
    }

    public void setShowServCategName(String showServCategName) {
        this.showServCategName = showServCategName;
    }

    public String getShowCategOneName() {
        return showCategOneName;
    }

    public void setShowCategOneName(String showCategOneName) {
        this.showCategOneName = showCategOneName;
    }

    public String getShowCategName() {
        return showCategName;
    }

    public void setShowCategName(String showCategName) {
        this.showCategName = showCategName;
    }

    @Override
    public String getCreater() {
        return creater;
    }

    @Override
    public void setCreater(String creater) {
        this.creater = creater;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRelateKey() {
        return showServCategId+"-"+showCategOneId+"-"+showCategId;
    }

    public String getShowTariffName() {
        return showTariffName;
    }

    public void setShowTariffName(String showTariffName) {
        this.showTariffName = showTariffName;
    }

    public Integer getServiceMinutes() {
        return serviceMinutes;
    }

    public void setServiceMinutes(Integer serviceMinutes) {
        this.serviceMinutes = serviceMinutes;
    }

    @Override
    public String toString() {
        return "ShowCategoryAssociationVO{" +
                "showGroupId=" + showGroupId +
                ", groupId=" + groupId +
                ", showServCategId=" + showServCategId +
                ", showCategOneId=" + showCategOneId +
                ", showCategId=" + showCategId +
                ", servCategId=" + servCategId +
                ", categOneId=" + categOneId +
                ", categId=" + categId +
                ", servCategName='" + servCategName + '\'' +
                ", categOneName='" + categOneName + '\'' +
                ", categName='" + categName + '\'' +
                ", showServCategName='" + showServCategName + '\'' +
                ", showTariffName='" + showTariffName + '\'' +
                ", showCategOneName='" + showCategOneName + '\'' +
                ", showCategName='" + showCategName + '\'' +
                ", creater='" + creater + '\'' +
                ", createTime=" + createTime +
                ", serviceMinutes=" + serviceMinutes +
                ", relateKey='" + relateKey + '\'' +
                '}';
    }
}
